Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / Shape Objects Reference
Functions / Manipulating Shape Object Properties


GXGetShapeInk

You can use the GXGetShapeInk function to determine the ink object associated with a shape object.

gxInk GXGetShapeInk(gxShape source);
source
A reference to the shape whose ink object is to be determined.
function result
A reference to the ink object associated with the source shape object.
ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
shape_is_nil 
SEE ALSO
The relationship of ink objects to QuickDraw GX shapes is discussed in "About QuickDraw GX Shapes" beginning on page 2-5. Ink objects themselves are further discussed in the chapter "Ink Objects" in this book.

To change the ink object associated with a QuickDraw GX shape, use the GXSetShapeInk function, described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996